package com.dbq.fast.business.product.bean;

import java.io.Serializable;
import java.util.List;

/**
 */

public class ProductType implements Serializable {


    /**
     * code : 200
     * msg : 成功
     * data : {"setMealList":[{"setMealId":2,"serviceId":1,"setMealOriginalDollarPrice":"10$","setMealDiscountDollarPrice":"6$","setMealDiscount":6,"setMealOriginalRmbPrice":"70¥","setMealDiscountRmbPrice":"0.01¥","setMealTime":3,"setMealDeadLine":"1517910327","payPageStyle":0,"isRenew":0},{"setMealId":3,"serviceId":1,"setMealOriginalDollarPrice":"5$","setMealDiscountDollarPrice":"3$","setMealDiscount":6,"setMealOriginalRmbPrice":"35¥","setMealDiscountRmbPrice":"0.01¥","setMealTime":1,"setMealDeadLine":"1512553527","payPageStyle":0,"isRenew":0},{"setMealId":4,"serviceId":1,"setMealOriginalDollarPrice":"15$","setMealDiscountDollarPrice":"9$","setMealDiscount":6,"setMealOriginalRmbPrice":"105¥","setMealDiscountRmbPrice":"0.01¥","setMealTime":6,"setMealDeadLine":"1525599927","payPageStyle":0,"isRenew":0},{"setMealId":5,"serviceId":1,"setMealOriginalDollarPrice":"20$","setMealDiscountDollarPrice":"12$","setMealDiscount":6,"setMealOriginalRmbPrice":"140¥","setMealDiscountRmbPrice":"0.01¥","setMealTime":12,"setMealDeadLine":"1541497527","payPageStyle":0,"isRenew":0}]}
     */

    public List<SetMealListBean> setMealList;
    public List<DisCount> disCountList;

    public static class DisCount implements Serializable {
        public int setMealTime = 0;
        public int disCounts = 0;
    }

    public static class SetMealListBean implements Serializable {
        /**
         * setMealId : 2
         * serviceId : 1
         * setMealOriginalDollarPrice : 10$
         * setMealDiscountDollarPrice : 6$
         * setMealDiscount : 6
         * setMealOriginalRmbPrice : 70¥
         * setMealDiscountRmbPrice : 0.01¥
         * setMealTime : 3
         * setMealDeadLine : 1517910327
         * payPageStyle : 0
         * isRenew : 0
         */

        public static int PAY_METHOD = 0; //设定支付类型，分为法定货币 0  和wfee 2，
        public int VIEW_TYPE = 3; //设定支付类型，分为TITLE 1  和Content 2，price 3
        public boolean isInvalid = true; //该字段用于表示产品是否可以购买。不可购买时为true时，允许购买为：false
        public boolean isChecked = false;
        public long setMealId;
        public long serviceId;
        public String setMealOriginalDollarPrice;
        public String setMealDiscountDollarPrice;
        public String setMealDiscount;
        public String setMealOriginalRmbPrice;
        public String setMealDiscountRmbPrice;
        public Integer setMealTime;
        public String setMealDeadLine;
        public int payPageStyle;
        public String googleId;
        public int isRenew;
        public String wfeePrice;


        public String content;
        public String video;
        public String image;
        public String ad;
        public String speed;
        public String title;
        public boolean isVisible = true;

        public String unitPrice;//单价
        public String discounts;//优惠度
        public long hkdPrice;//优惠度


        @Override
        public String toString() {
            return "SetMealListBean{" +
                    "isChecked=" + isChecked +
                    ", setMealId=" + setMealId +
                    ", serviceId=" + serviceId +
                    ", setMealOriginalDollarPrice='" + setMealOriginalDollarPrice + '\'' +
                    ", setMealDiscountDollarPrice='" + setMealDiscountDollarPrice + '\'' +
                    ", setMealDiscount='" + setMealDiscount + '\'' +
                    ", setMealOriginalRmbPrice='" + setMealOriginalRmbPrice + '\'' +
                    ", setMealDiscountRmbPrice='" + setMealDiscountRmbPrice + '\'' +
                    ", setMealTime=" + setMealTime +
                    ", setMealDeadLine='" + setMealDeadLine + '\'' +
                    ", payPageStyle=" + payPageStyle +
                    ", googleId='" + googleId + '\'' +
                    ", isRenew=" + isRenew +
                    ", wfeePrice='" + wfeePrice + '\'' +
                    '}';
        }
    }
}
